package com.bookmanager.www.common.DTO;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: 风离
 * @Date: 2021/12/19/1:14
 * @Description: 管理员信息修改
 */
@Data
@ToString
public class AdminDTO {


    @NotNull(message = "管理员名不能为空")
    private String adminName;

    @NotNull(message="描述不能为空")
    private String description;

    private Integer adminCount;

    @NotNull(message = "创建时间不能为空")
    private String createTime;


    @NotNull(message="状态不能为空")
    private Integer status;

    @NotNull(message = "排序不能为空")
    private Integer sort;

}
